import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import '@/api/index'
Vue.config.productionTip = false

import { Button  ,NavBar ,Search , Tabbar, TabbarItem , Tab  , Toast, Tabs , Icon , Grid , GridItem  , CellGroup ,  Uploader , Field } from 'vant'
import { RadioGroup, Radio , List } from 'vant';
Vue.use(List);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(Field);
import { Form , Image as VanImage } from 'vant';
import { Popover } from 'vant';
import { Calendar } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Lazyload } from 'vant';

Vue.use(Lazyload, {
  lazyComponent: true,
});
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Calendar);
Vue.use(Popover);
import { Dialog ,ActionSheet} from 'vant';
Vue.use(ActionSheet);
import { SwipeCell , Cell} from 'vant';
Vue.use(Cell)
Vue.use(SwipeCell);
Vue.use(Dialog)
Vue.use(VanImage);
Vue.use(Toast)
Vue.use(Form);
// Vue.prototype.$axios = axios
Vue.use(Search);
Vue.use(NavBar);
Vue.use(Button);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Icon);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(CellGroup)
Vue.use(Uploader);



  

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
